<ion-view view-title="已售订单" class="prosaleorder">
	<ion-nav-bar ng-class="baseclass">
		<ion-nav-back-button></ion-nav-back-button>
	</ion-nav-bar>
	
	<ion-content class="bg">
		<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
		<div class="list">
			<div class="item nolist text-center" ng-if="orders.length==0||orders==null">
				<img src="./img/guilin/other/noorder@2x.png" />
				<p class="textone">没有相关已售订单</p>
				<p class="texttwo">去看看其他的吧！</p>
			</div>
			<div class="item padding-0 orderframe margin-bottom-10" ng-repeat="order in orders">
				<div class="padding-0">
					<span class="orderidtext">订单号：{{order.order_id}}</span>
					<span class="orderstatetext ">{{order.status}}</span>
				</div>
				<div class="padding-0 ordertimeframe">
					<span class="ordertimetext">订单时间：{{order.createtime}}</span>
					<span class="orderprice">{{order.total_amount| currency:'¥'}}</span>
				</div>
				<div class="item-input padding-0">
					<img src="./img/guilin/other/icon_buyer@2x.png" />
					<span class="shoptext">{{order.buy_name}}</span>
				</div>
			</div>

		</div>

		<!--加载-->
		<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
	</ion-content>
</ion-view>